package com.ruoyi.community.mapper;

import java.util.List;

import com.ruoyi.community.domain.OwnerActivityEnroll;
import com.ruoyi.community.domain.OwnerActivityParticipate;
import org.apache.ibatis.annotations.Param;

/**
 * 活动签到详情Mapper接口
 * 
 * @author ruoyi
 * @date 2021-12-13
 */
public interface OwnerActivityParticipateMapper
{

    public OwnerActivityParticipate selectOwnerActivityParticipateById(String id);


    public List<OwnerActivityParticipate> selectOwnerActivityParticipateList(OwnerActivityParticipate ownerActivityParticipate);

    // 查询活动id对应的签到记录
    public List<OwnerActivityParticipate> selectOwnerActivityParticipateListById(String id);

    public int insertOwnerActivityParticipate(OwnerActivityParticipate ownerActivityParticipate);

    public Integer hasRegistered(@Param("userId") String userId,
                               @Param("activityId") String activityId);


    public int updateOwnerActivityParticipate(OwnerActivityParticipate ownerActivityParticipate);


    public int deleteOwnerActivityParticipateById(String id);


    public int deleteOwnerActivityParticipateByIds(String[] ids);
}
